package com.study.chain.general;

public class Test {
    public static void main(String[] args) {
        Handler handlerA = new ConcreteHandlerA();
        handlerA.setNextHandler(new ConcreteHandlerB());
        handlerA.handlerRequest("B");
    }
}
